package com.ghck.server.model;

import java.util.Date;
/**
 * 护士站  <br>
 * dict_nurse_station <br>
 * v1.0 2016-05-01
 */
 public class NurseStationDict extends BaseModel implements Comparable<NurseStationDict>{
	
	private static final long serialVersionUID = 1L;
	
 	
 	//id
	private Integer id;

 	//护士站名称
 	//name
	private String name;

 	//服务时间
 	//service_time
	private String serviceTime;

 	//联系电话,支持多个电话,逗号分开
 	//tel
	private String tel;

 	//区域ID
 	//region_id
	private Integer regionId;

 	//具体地址
 	//address
	private String address;

 	//经度
 	//longitude
	private Double longitude;

 	//纬度
 	//latitude
	private Double latitude;

 	//是否在用,0：未使用,1：正在使用
 	//in_used
	private Integer inUsed;

 	
 	//last_modify_time
	private Date lastModifyTime;

 	
 	//create_time
	private Date createTime;
	
	private Double distance;
	
	/**
	*
 	*id
 	*/
	public Integer getId() {
		return id;
	}
	
	/**
	*
 	*id
 	*/
	public void setId(Integer id) {
		this.id = id;
	}
	
	/**
	*护士站名称
 	*name
 	*/
	public String getName() {
		return name;
	}
	
	/**
	*护士站名称
 	*name
 	*/
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	*服务时间
 	*service_time
 	*/
	public String getServiceTime() {
		return serviceTime;
	}
	
	/**
	*服务时间
 	*service_time
 	*/
	public void setServiceTime(String serviceTime) {
		this.serviceTime = serviceTime;
	}
	
	/**
	*联系电话,支持多个电话,逗号分开
 	*tel
 	*/
	public String getTel() {
		return tel;
	}
	
	/**
	*联系电话,支持多个电话,逗号分开
 	*tel
 	*/
	public void setTel(String tel) {
		this.tel = tel;
	}
	
	/**
	*区域ID
 	*region_id
 	*/
	public Integer getRegionId() {
		return regionId;
	}
	
	/**
	*区域ID
 	*region_id
 	*/
	public void setRegionId(Integer regionId) {
		this.regionId = regionId;
	}
	
	/**
	*具体地址
 	*address
 	*/
	public String getAddress() {
		return address;
	}
	
	/**
	*具体地址
 	*address
 	*/
	public void setAddress(String address) {
		this.address = address;
	}
	
	/**
	*经度
 	*longitude
 	*/
	public Double getLongitude() {
		return longitude;
	}
	
	/**
	*经度
 	*longitude
 	*/
	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}
	
	/**
	*纬度
 	*latitude
 	*/
	public Double getLatitude() {
		return latitude;
	}
	
	/**
	*纬度
 	*latitude
 	*/
	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}
	
	/**
	*是否在用,0：未使用,1：正在使用
 	*in_used
 	*/
	public Integer getInUsed() {
		return inUsed;
	}
	
	/**
	*是否在用,0：未使用,1：正在使用
 	*in_used
 	*/
	public void setInUsed(Integer inUsed) {
		this.inUsed = inUsed;
	}
	
	/**
	*
 	*last_modify_time
 	*/
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	
	/**
	*
 	*last_modify_time
 	*/
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	
	/**
	*
 	*create_time
 	*/
	public Date getCreateTime() {
		return createTime;
	}
	
	/**
	*
 	*create_time
 	*/
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	@Override
	public int compareTo(NurseStationDict o) {
		if(o!=null){
			return id.compareTo(o.id);
		}
		return 0;
	}
	
	@Override
	public void dealWith(){
		super.dealWith();
		
	}
}	